.banner {
    height: 460px;
}
.banner .wrapper {
    /* 相对布局 */
    position: relative;
    /* height: 460px;  */
    /* 隐藏超出部分 */
    overflow: hidden;
}
.banner .wrapper .pic {
    display: flex;
    background-size: 95% 100%;
    background-position: right center;
    background-image: url(../images/banner.png);
    width: 100%;
    height: 460px;
}

.subnav {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 460px;
    width: 220px;
    background-color: rgba(0, 0, 0, 0.6);
}
.subnav li {
    display: flex;
    height: 50px;
    line-height: 50px;
    justify-content: space-between;
    color: #fff;
    padding-left: 18px;
    padding-right: 8px;
    /* 鼠标形态 */
    cursor: pointer;
}
.subnav li a {
    color: #fff;
    margin-right: 5px;
}
.subnav li .classify {
    margin-right: 12px;
}
.subnav li:hover {
    background: #00be9a;
}
/* 图片块 */

.bd ul {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}
.bd li:nth-child(2) {
    width: 317px;
    height: 170px;
}
.bd li:nth-child(3) {
    width: 317px;
    height: 170px;
}
.bd li:nth-child(4) {
    width: 317px;
    height: 170px;
}
.bd .txt {
    width: 220px;
    height: 170px;
    text-align: center;
    background-color: #5f5750;
    color: #fff;
    display: flex;
    align-items: center; /* 垂直居中 */
    justify-content: center; /* 水平居中 */
    flex-direction: column; /* 将子元素排列成垂直堆栈 */
}
.bd .txt p {
    margin: 10px; /* 调整段落之间的间距 */
}
/* 智能硬件 */
.hardware {
    background: #f5f5f5;
    height: 750px;
    width: 1400px;
    margin: 60px auto;
}
.hardware .wrapper {
    overflow: hidden;
    height: 800px;
}
.hardware title {
    margin-top: 60px;
    margin-bottom: 20px;
}
.title {
    display: flex;
    margin-top: 40px;
    margin-bottom: 10px;
    height: 30px;
    justify-content: space-between;
}
.title .left {
    display: flex;
}
.title .left h3 {
    font-size: 20px;
    color: #a1a1a1;
    margin-right: 35px;
}
.title .right .more {
    line-height: 30px;
    color: #333;
    margin-right: 30px;
}
.title .right {
    display: flex;
}

.content {
    display: flex;
    justify-content: space-between;
}
.content .left {
    width: 234px;
    height: 614px;
}
.content .right {
    height: 614px;
    width: 980px;
}
.content .right ul {
    display: flex;
    flex-wrap: wrap;
}
.content .right li {
    position: relative;
    width: 230px;
    height: 302px;
    padding: 20px;
    overflow: hidden;
    background-color: #fff;
    margin-bottom: 10px;
    margin-left: 12px;
}
.content .pic {
    width: 160px;
    height: 160px;
    margin-bottom: 15px;
}
.content .info {
    margin-bottom: 10px;
    height: 50px;
    line-height: 20px;
    text-align: center;
}
.content h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
}
.content .info p {
    font-size: 12px;
    color: #666;
}
.content .price {
    text-align: center;
    font-size: 14px;
    color: #ff9b5b;
}
.content .price span{
    text-align: center;
    font-size: 14px;
    color: #666;
    /* 删除线 */
    text-decoration: line-through;
    margin-left: 10px;
}
.cover1 p,
.cover p {
    font-size: 10px;
}
.content li .cover {
    width: 40px;
    height: 20px;
    line-height: 20px;
    background: #f4a514;
    position: absolute;
    color: #ffffff;
    text-align: center;
    top: 0px;
    left: 40%;
}
.content li .cover1 {
    width: 40px;
    height: 20px;
    line-height: 20px;
    background: #db3834;
    position: absolute;
    color: #ffffff;
    text-align: center;
    top: 0px;
    left: 40%;
}
